/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.upc.embajada.service.impl;

import edu.upc.embajada.dao.impl.DistritoDaoImpl;
import edu.upc.embajada.entity.Distrito;
import edu.upc.embajada.service.DistritoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author u02728
 */
@Service
public class DistritoServiceImpl implements DistritoService {

    @Autowired
    private DistritoDaoImpl distritoDao;

    @Override
    public Distrito obtener(Integer id) {
        return distritoDao.obtener(id);
    }
}
